﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>菜单</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link href="../../res/css/demo.css" rel="stylesheet" type="text/css" />
    <script src="../../../../scripts/boot.js" type="text/javascript"></script>

    <style type="text/css">
        html, body {
            padding:0;
            margin:0;
            border:0;
            height:100%;
            overflow:hidden;
        }
    </style>
</head>
<body>
    <form id="form1" method="post">
        <!--按钮-->
        <div style="text-align:left;padding:5px 10px;border-bottom:1px solid #aed0ea;margin-bottom:10px;">
            <a class="mini-button" onclick="onOk" style="width:60px;">确定</a>
            <a class="mini-button" onclick="onCancel" style="width:60px;">取消</a>
        </div>
        <!--表单-->
        <input name="menuId" class="mini-hidden" />
        <input name="menuCode" class="mini-hidden"/>
        <input name="parName" class="mini-hidden"/>
        <div style="padding-left:11px;padding-bottom:5px;margin-top: 16px">
            <table style="table-layout:fixed;">
                <tr>
                    <td style="width:100px;text-align:right"><span style='color:red;vertical-align: middle;'> * </span>菜单名称：</td>
                    <td style="width:150px;">    
                        <input id="menuName" name="menuName" class="mini-textbox" onblur='onblurEvent' onvalidation="onNotSpaceValidation"/>
                    </td>
                    <td style="width:100px;text-align:right">菜单图标：</td>
                    <td style="width:150px;">
                        <i class="menu-icon fa fa fa-edit"></i>
                        <input name="menuLcon" class="mini-textbox" value="fa fa-edit" readonly style="display: none"/>
                    </td>
                </tr>
                <tr>
                 	<td style='text-align:right'><span style='color:red;vertical-align: middle;'> * </span>菜单编码：</td>
                    <td >
                        <input id="menuCode" name="menuCode" class="mini-textbox" onblur='findMenuCode' onvalidation="onNotSpaceValidation"/>
                    </td>
                    <td style="width:120px;text-align:right">菜单跳转路径：</td>
                    <td style="width:150px;">
                        <input name="menuUrl" class="mini-textbox" />
                    </td>
                </tr>
             	<!-- <tr>
                    <td style="width:120px;">菜单顺序调整：</td>
                    <td style="width:150px;">
                        <input name="menuOrderId" class="mini-textbox"/>
                    </td>
                </tr> -->
                <tr>
                 	<td style="width:80px;text-align:right">所属模块名称：</td>
                    <td style="width:150px;">
                        <!--<input name="modular.modularName" class="mini-textbox" required="true"/>-->
                        <input name="modular.modularId" class="mini-combobox" valueField="modularId" textField="modularName"
                               onvaluechanged="onModularChanged" 
                               emptyText="请选择模块"
                                />
                    </td>
                    <td style='text-align:right'>父级菜单：</td>
                    <td >
                    	<!-- <input name="parId" class="mini-textbox" required="true" style="width:93px;"/> -->
                    	<!-- <a id="okBtn" class="mini-button" style="width:50px;" onclick="changePar()" >选择</a> -->
                    	<!-- textName="menuName"  -->
                    	<input id="parId" name="parId" class="mini-buttonedit" onbuttonclick="changePar()" />
                    	
                    	
                        <!-- <input name="parId" class="mini-combobox" valueField="parId" textField="menuName"
                               onvaluechanged="onMenusChanged" emptyText="请选择父级菜单" required="true"/> -->
                    </td>
                   
                </tr>
            </table>
        </div>
    </form>


    <script src="alertjs/menusWindow.js"></script>
</body>
</html>
